#!/bin/bash


RES1=$[(2+3)*4]
echo "res1=$RES1"





RES2=$[$1+$2]
echo "RES2的值为=$RES2"

RES3=$?
echo "RES3的值为=$RES3"

#判断语句
#判断OK是否等于OK
if [ "of" = "of" ]
then 
	echo "equal"
fi

#23是否大于等于22
if [ "23" -ge "22" ]
then 
	echo "大于等于"
fi

# /home/v/test/test.sh是否存在
if [ -f $HOME/test/test.sh  ]
then 
	echo "存在"

fi
















